package com.renjibo.recycleviewrenovatedemo;

import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import org.w3c.dom.Text;

import cn.lemon.view.adapter.BaseViewHolder;

/**
 * 任继波
 * Created by Administrator on 2017/2/19.
 */

public class MyViewHolder extends BaseViewHolder<String> {
    private TextView textView;
    public MyViewHolder(ViewGroup itemView) {
        super(itemView,R.layout.recycle_item);
    }

    @Override
    public void setData(String object) {
        super.setData(object);
        textView.setText("diyi");
    }

    @Override
    public void onInitializeView() {
        super.onInitializeView();
        textView=findViewById(R.id.textView);
    }

    @Override
    public void onItemViewClick(String object) {
        super.onItemViewClick(object);
        Log.d("ddd","点ji了");
    }
}
